package cn.weiron.fun.schedule;

import cn.weiron.fun.infrastructure.auth.Authority;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author weiRon
 * @date 2022/9/27 18:17
 */
@RestController
@RequestMapping("/image")
public class ImageController {

    @Resource
    private ImageService imageService;

    @GetMapping("/create")
    @Authority.Set(mustLogin = false)
    public void create(int i) {
        imageService.createBatchQrCode(i);
    }

}
